import { Collapse, CollapseProps } from 'antd'
import UserCategoryMenu from './UserCategoryMenu'
import UserFavoriteMenu from './UserFavoriteMenu'


const UserSider: React.FC = () => {
    const items: CollapseProps['items'] = [
        {
            key: '1',
            label: '图片分类',
            children: <UserCategoryMenu />,
        },
        {
            key: '2',
            label: '图片收藏夹',
            children: <UserFavoriteMenu />,
        },
    ]
    return (
        <>
            <Collapse items={items} defaultActiveKey={['1']} />
        </>
    )
}

export default UserSider